package com.tesco.entity.domin;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;


@Data
@TableName("yg_order")
public class YgOrder extends Model<YgOrder> {
    /**
     * 订单id
     */
    @TableId(value = "ddid",type = IdType.AUTO)
    private Integer ddid;
    
    /** 
     *商品id 
     */
    @TableField(value = "spid")
    private int spid;
    
    /** 
     *商品数量 
     */
    @TableField(value = "spnum")  
    private int spnum;
    
    /** 
     *购买用户名 
     */
    @TableField(value = "username")  
    private String username;

    
    /** 
     *商家是否完成订单 
     */
    @TableField(value = "sjwc")  
    private String sjwc;

    /** 
     *送货员名 
     */
    @TableField(value = "shyname")  
    private String shyname;
    
    /** 
     *是否送达 
     */
    @TableField(value = "isdeliver")  
    private String isdeliver;

    
    /** 
     *创建时间 
     */
    @TableField(value = "createdat")  
    private Date createdat;
    
    /** 
     *商家完成订单时间 
     */
    @TableField(value = "sjwcdate")  
    private Date sjwcdate;
    
    /** 
     *送达时间 
     */
    @TableField(value = "sddate")  
    private Date sddate;

    public static final String COL_DDID = "ddid";
     
    public static final String COL_SPID = "spid";
     
    public static final String COL_SPNUM = "spnum";
     
    public static final String COL_USERNAME = "username";
     
    public static final String COL_USERHSJG = "userhsjg";
     
    public static final String COL_SJNAME = "sjname";
     
    public static final String COL_SJWC = "sjwc";
     
    public static final String COL_SHYNAME = "shyname";
     
    public static final String COL_ISDELIVER = "isdeliver";
     
    public static final String COL_CREATEDAT = "createdat";
     
    public static final String COL_SJWCDATE = "sjwcdate";
     
    public static final String COL_SDDATE = "sddate";
     

}

